package com.aishua.fire.entity.ateam;

import java.util.List;

import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value="修改账户组信息对象",description="修改账户组信息对象")
@Data
public class UpdAccountteamInfo {

	@ApiModelProperty(value="账户组名称",name="accountteamName",example="中北管理员")
	@NotBlank(message="账户组名不能为空")
	private String accountteamName;
	
	@ApiModelProperty(value="账户组描述",name="accountteamDesc",example="拥有最高权限的权限类型")
	@NotBlank(message="账户组描述不能为空")
	private String accountteamDesc;
	
	@ApiModelProperty(value="权限组id",name="permteamId",example="1")
	@NotEmpty(message="账户资源组不能为空")
	private List<String> permteamId;
	
	@ApiModelProperty(value="authType",name="authType",example="allow")
	@NotBlank(message="授权类型不能为空")
	private String authType;
	
	@ApiModelProperty(value="用户组id",name="accountteamId",example="2")
	private String accountteamId;
}
